package com.luo.chengrui.module.sa.controller.admin.datapermission.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据权限配置 Excel 导出 Request VO，参数和 DataPermissionConfigPageReqVO 是一致的")
@Data
public class DataPermissionConfigExportReqVO {

    @Schema(description = "机构FULL_ID", example = "5822")
    private String orgFullId;

    @Schema(description = "机构FULL_NAME", example = "张三")
    private String orgFullName;

    @Schema(description = "权限项ID", example = "4766")
    private String permissionItemId;

    @Schema(description = "范围权限 取值sa_data_scope字典值")
    private Integer dataScope;

    @Schema(description = "likeOrIn")
    private Integer likeOrIn;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "乐观锁")
    private Long version;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "权限取值")
    private String dataContent;

}
